﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common2.Master" AutoEventWireup="true" CodeBehind="frmZhuceguanliyuan.aspx.cs" Inherits="WebApp3.frmZhuceguanliyuan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style5 {
            width: 100%;
            margin-top: 0px;
            height: 356px;
        }
        .auto-style6 {
            height: 40px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table class="auto-style5">
        <tr>
            <td colspan="2" style="font-size: medium; color: #666666; text-align: center; font-weight: bolder; background-color: #FFFFFF;">
                <asp:Image ID="Image1" runat="server" ImageUrl="~/tupian/images/Register_ts.jpg" />
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">用户名：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                <asp:TextBox ID="txt_user" runat="server"></asp:TextBox>
&nbsp;<asp:Label ID="lblYonghu" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">性别：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                <asp:RadioButton ID="rb_boy" runat="server" Text="男" GroupName="sex" />
&nbsp;
                        <asp:RadioButton ID="rb_girl" runat="server" Text="女" GroupName="sex" />
&nbsp;&nbsp;&nbsp;&nbsp; </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">选择头像：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                <asp:DropDownList ID="ddl_head" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddl_head_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:Image ID="img_head" runat="server" Height="24px" Width="24px" />
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;">密码：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;">
                <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox2" Display="Dynamic" ErrorMessage="密码不能为空，且密码长度为6到12位的字母数字点和下划线组成" ForeColor="Red" ValidationExpression="[a-z|A-Z|0-9|.|_]{6,12}" Font-Size="Small"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;" class="auto-style2">确认密码：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;" class="auto-style2">
                <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
&nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="密码不同，请重新输入！" ForeColor="Red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #666666; text-align: right; font-weight: bolder;" class="auto-style2">qq邮箱：</td>
            <td style="font-size: medium; color: #666666; font-weight: bolder; text-align: left;" class="auto-style2">
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox4" ErrorMessage="电子邮件格式不正确！" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-size: medium; color: #666666; text-align: center; font-weight: bolder;">
                <asp:ImageButton ID="btn_createuser" runat="server" ImageUrl="~/tupian/images/zhuce.jpg" OnClick="btn_createuser_Click" />
                &nbsp;<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/tupian/images/fanhui.jpg" OnClick="ImageButton2_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-size: medium; color: #CC3300; text-align: left; font-weight: bolder;">请牢记下面注册信息：</td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #FF0066; text-align: right; font-weight: bolder;">用户名：</td>
            <td style="font-size: medium; color: #666666; text-align: left; font-weight: bolder;">
                <asp:Label ID="lblUserName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #FF0066; text-align: right; font-weight: bolder;">密码：</td>
            <td style="font-size: medium; color: #666666; text-align: left; font-weight: bolder;">
                <asp:Label ID="lblPassword" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="font-size: medium; color: #FF0066; text-align: left; font-weight: bolder;" colspan="2">
                <asp:Label ID="lblOk" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="font-size: medium; color: #FF0066; text-align: center; font-weight: bolder;" class="auto-style6">&nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
